package com.qf.item1.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;
import java.util.Date;

/**
 * @author 刘欣
 * @createTime 2023/1/9 22:37
 * @description
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CustomerVo {
    private Integer id;
    @NotEmpty
    @Size(min = 5, max = 10)
    private String name;
    private String password;
    private String sex;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date date;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date registTime;
    private String circuitChanger;
    private String captchar;
    private String photopath;
}
